package com.ztgf.sys.service;

import org.springframework.boot.web.servlet.server.Session;

import java.util.HashMap;
import java.util.Map;

/**
 * @author YUE
 * @create 2020-07-09 11:30
 */
public class SysUserSessions {
    private static Map<String, Session> map = new HashMap<>();

    private SysUserSessions() {
    }

    public Session getSessionByKey(String userId){
        return map.get(userId);
    }
}
